/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * PnlEditWithdrawProdoucts.java
 *
 * Created on 18 ม.ค. 2553, 15:40:48
 */

package store.backend;

/**
 *
 * @author Administrator
 */
public class PnlEditBringPro extends javax.swing.JPanel {

    /** Creates new form PnlEditWithdrawProdoucts */
    public PnlEditBringPro() {
        initComponents();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jScrollPane2 = new javax.swing.JScrollPane();
        tblWitdrawList = new javax.swing.JTable();
        pnlEditWithdrawProduct = new javax.swing.JPanel();
        lblEditWithdrawProduct = new javax.swing.JLabel();
        btnEditWithdrawProductSave = new javax.swing.JButton();
        btnEditWithdrawProductCancel = new javax.swing.JButton();
        btnListWithdrawProductCancel1 = new javax.swing.JButton();
        jPanel2 = new javax.swing.JPanel();
        lblEditWithdrawProductIDProduct = new javax.swing.JLabel();
        txfEditWithdrawProductIDProduct = new javax.swing.JTextField();
        lblEditWithdrawProductNumber = new javax.swing.JLabel();
        txfEditWithdrawProductNumber = new javax.swing.JTextField();
        lblEditWithdrawProductIDStaff = new javax.swing.JLabel();
        txfEditWithdrawProductIDStaff = new javax.swing.JTextField();
        lblEditWithdrawProductType = new javax.swing.JLabel();
        txfEditWithdrawProductType = new javax.swing.JTextField();
        lblEditWithdrawProductNameProduct = new javax.swing.JLabel();
        txfEditWithdrawProductNameProduct = new javax.swing.JTextField();

        tblWitdrawList.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null, null, null},
                {null, null, null, null, null, null},
                {null, null, null, null, null, null},
                {null, null, null, null, null, null}
            },
            new String [] {
                "รหัสสินค้า", "ชนิดสินค้า", "ชื่อสินค้า", "รหัสพนักงาน", "วัน/เดือน/ปี ", "เวลา"
            }
        ));
        jScrollPane2.setViewportView(tblWitdrawList);

        setMaximumSize(new java.awt.Dimension(700, 500));
        setPreferredSize(new java.awt.Dimension(700, 500));
        setLayout(new java.awt.BorderLayout());

        pnlEditWithdrawProduct.setBackground(new java.awt.Color(255, 204, 102));
        pnlEditWithdrawProduct.setPreferredSize(new java.awt.Dimension(700, 80));

        lblEditWithdrawProduct.setFont(new java.awt.Font("Tahoma", 1, 16));
        lblEditWithdrawProduct.setText("เบิกสินค้า");

        btnEditWithdrawProductSave.setFont(new java.awt.Font("Tahoma", 0, 14));
        btnEditWithdrawProductSave.setIcon(new javax.swing.ImageIcon(getClass().getResource("/icon/save_30x30.gif"))); // NOI18N
        btnEditWithdrawProductSave.setMaximumSize(new java.awt.Dimension(75, 30));
        btnEditWithdrawProductSave.setMinimumSize(new java.awt.Dimension(75, 30));
        btnEditWithdrawProductSave.setPreferredSize(new java.awt.Dimension(40, 40));
        btnEditWithdrawProductSave.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnEditWithdrawProductSaveActionPerformed(evt);
            }
        });

        btnEditWithdrawProductCancel.setFont(new java.awt.Font("Tahoma", 0, 14));
        btnEditWithdrawProductCancel.setIcon(new javax.swing.ImageIcon(getClass().getResource("/icon/cancel_30x30.gif"))); // NOI18N
        btnEditWithdrawProductCancel.setMaximumSize(new java.awt.Dimension(75, 30));
        btnEditWithdrawProductCancel.setMinimumSize(new java.awt.Dimension(75, 30));
        btnEditWithdrawProductCancel.setPreferredSize(new java.awt.Dimension(40, 40));

        btnListWithdrawProductCancel1.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N
        btnListWithdrawProductCancel1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/icon/rfid_30x30.gif"))); // NOI18N
        btnListWithdrawProductCancel1.setMaximumSize(new java.awt.Dimension(75, 30));
        btnListWithdrawProductCancel1.setMinimumSize(new java.awt.Dimension(75, 30));
        btnListWithdrawProductCancel1.setPreferredSize(new java.awt.Dimension(40, 40));

        javax.swing.GroupLayout pnlEditWithdrawProductLayout = new javax.swing.GroupLayout(pnlEditWithdrawProduct);
        pnlEditWithdrawProduct.setLayout(pnlEditWithdrawProductLayout);
        pnlEditWithdrawProductLayout.setHorizontalGroup(
            pnlEditWithdrawProductLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pnlEditWithdrawProductLayout.createSequentialGroup()
                .addGap(20, 20, 20)
                .addGroup(pnlEditWithdrawProductLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(lblEditWithdrawProduct)
                    .addGroup(pnlEditWithdrawProductLayout.createSequentialGroup()
                        .addComponent(btnEditWithdrawProductSave, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(btnEditWithdrawProductCancel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 540, Short.MAX_VALUE)
                        .addComponent(btnListWithdrawProductCancel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap())
        );
        pnlEditWithdrawProductLayout.setVerticalGroup(
            pnlEditWithdrawProductLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, pnlEditWithdrawProductLayout.createSequentialGroup()
                .addGap(11, 11, 11)
                .addComponent(lblEditWithdrawProduct)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addGroup(pnlEditWithdrawProductLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(btnListWithdrawProductCancel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(btnEditWithdrawProductCancel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(btnEditWithdrawProductSave, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap())
        );

        add(pnlEditWithdrawProduct, java.awt.BorderLayout.NORTH);

        jPanel2.setPreferredSize(new java.awt.Dimension(700, 300));

        lblEditWithdrawProductIDProduct.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        lblEditWithdrawProductIDProduct.setText("รหัสสินค้า :");

        txfEditWithdrawProductIDProduct.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        txfEditWithdrawProductIDProduct.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                txfEditWithdrawProductIDProductActionPerformed(evt);
            }
        });

        lblEditWithdrawProductNumber.setFont(new java.awt.Font("Tahoma", 0, 12));
        lblEditWithdrawProductNumber.setText("จำนวน :");

        txfEditWithdrawProductNumber.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        txfEditWithdrawProductNumber.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                txfEditWithdrawProductNumberActionPerformed(evt);
            }
        });

        lblEditWithdrawProductIDStaff.setFont(new java.awt.Font("Tahoma", 0, 12));
        lblEditWithdrawProductIDStaff.setText("รหัสพนักงาน :");

        txfEditWithdrawProductIDStaff.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        txfEditWithdrawProductIDStaff.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                txfEditWithdrawProductIDStaffActionPerformed(evt);
            }
        });

        lblEditWithdrawProductType.setFont(new java.awt.Font("Tahoma", 0, 12));
        lblEditWithdrawProductType.setText("ชนิดสินค้า :");

        txfEditWithdrawProductType.setFont(new java.awt.Font("Tahoma", 0, 12));
        txfEditWithdrawProductType.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                txfEditWithdrawProductTypeActionPerformed(evt);
            }
        });

        lblEditWithdrawProductNameProduct.setFont(new java.awt.Font("Tahoma", 0, 12));
        lblEditWithdrawProductNameProduct.setText("ชื่อสินค้า :");

        txfEditWithdrawProductNameProduct.setFont(new java.awt.Font("Tahoma", 0, 12));
        txfEditWithdrawProductNameProduct.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                txfEditWithdrawProductNameProductActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);
        jPanel2.setLayout(jPanel2Layout);
        jPanel2Layout.setHorizontalGroup(
            jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel2Layout.createSequentialGroup()
                .addGap(20, 20, 20)
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(lblEditWithdrawProductNumber, javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(lblEditWithdrawProductIDStaff, javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(lblEditWithdrawProductNameProduct, javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(lblEditWithdrawProductType, javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(lblEditWithdrawProductIDProduct, javax.swing.GroupLayout.Alignment.TRAILING))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(txfEditWithdrawProductIDStaff)
                    .addComponent(txfEditWithdrawProductNumber)
                    .addComponent(txfEditWithdrawProductNameProduct, javax.swing.GroupLayout.DEFAULT_SIZE, 154, Short.MAX_VALUE)
                    .addComponent(txfEditWithdrawProductType, javax.swing.GroupLayout.DEFAULT_SIZE, 154, Short.MAX_VALUE)
                    .addComponent(txfEditWithdrawProductIDProduct, javax.swing.GroupLayout.DEFAULT_SIZE, 154, Short.MAX_VALUE))
                .addContainerGap(448, Short.MAX_VALUE))
        );
        jPanel2Layout.setVerticalGroup(
            jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel2Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(txfEditWithdrawProductIDProduct, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(lblEditWithdrawProductIDProduct))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(lblEditWithdrawProductType)
                    .addComponent(txfEditWithdrawProductType, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(lblEditWithdrawProductNameProduct)
                    .addComponent(txfEditWithdrawProductNameProduct, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(lblEditWithdrawProductNumber)
                    .addComponent(txfEditWithdrawProductNumber, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(lblEditWithdrawProductIDStaff)
                    .addComponent(txfEditWithdrawProductIDStaff, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(280, Short.MAX_VALUE))
        );

        add(jPanel2, java.awt.BorderLayout.CENTER);
    }// </editor-fold>//GEN-END:initComponents

    private void txfEditWithdrawProductIDProductActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_txfEditWithdrawProductIDProductActionPerformed
        // TODO add your handling code here:
}//GEN-LAST:event_txfEditWithdrawProductIDProductActionPerformed

    private void txfEditWithdrawProductNumberActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_txfEditWithdrawProductNumberActionPerformed
        // TODO add your handling code here:
}//GEN-LAST:event_txfEditWithdrawProductNumberActionPerformed

    private void txfEditWithdrawProductIDStaffActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_txfEditWithdrawProductIDStaffActionPerformed
        // TODO add your handling code here:
}//GEN-LAST:event_txfEditWithdrawProductIDStaffActionPerformed

    private void txfEditWithdrawProductTypeActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_txfEditWithdrawProductTypeActionPerformed
        // TODO add your handling code here:
}//GEN-LAST:event_txfEditWithdrawProductTypeActionPerformed

    private void txfEditWithdrawProductNameProductActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_txfEditWithdrawProductNameProductActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_txfEditWithdrawProductNameProductActionPerformed

    private void btnEditWithdrawProductSaveActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnEditWithdrawProductSaveActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_btnEditWithdrawProductSaveActionPerformed


    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton btnEditWithdrawProductCancel;
    private javax.swing.JButton btnEditWithdrawProductSave;
    private javax.swing.JButton btnListWithdrawProductCancel1;
    private javax.swing.JPanel jPanel2;
    private javax.swing.JScrollPane jScrollPane2;
    private javax.swing.JLabel lblEditWithdrawProduct;
    private javax.swing.JLabel lblEditWithdrawProductIDProduct;
    private javax.swing.JLabel lblEditWithdrawProductIDStaff;
    private javax.swing.JLabel lblEditWithdrawProductNameProduct;
    private javax.swing.JLabel lblEditWithdrawProductNumber;
    private javax.swing.JLabel lblEditWithdrawProductType;
    private javax.swing.JPanel pnlEditWithdrawProduct;
    private javax.swing.JTable tblWitdrawList;
    private javax.swing.JTextField txfEditWithdrawProductIDProduct;
    private javax.swing.JTextField txfEditWithdrawProductIDStaff;
    private javax.swing.JTextField txfEditWithdrawProductNameProduct;
    private javax.swing.JTextField txfEditWithdrawProductNumber;
    private javax.swing.JTextField txfEditWithdrawProductType;
    // End of variables declaration//GEN-END:variables

}
